Class DijkstraShortestPath

    • Constructor Detail

      • DijkstraShortestPath

        public DijkstraShortestPath​(ArgumentsBundle bundle)
        Public Constructor for creating an Algorithm.
        Parameters:
        bundle - the ArgumentsBundle containing the arguments for the Algorithm object.
    • Method Detail

      • process

        public java.util.ArrayList<Graph> process​(Graph graph)
        Description copied from interface: Processable
        Processes data.
        Parameters:
        graph - the T type object to process.
        Returns:
        the S type object array produced by the processing.
      • closestReachableUnvisited

        private Node closestReachableUnvisited​(java.util.HashMap<Node,​java.lang.Double> shortestPathMap,
                                               Graph graph,
                                               java.util.Set<java.lang.String> visited)
      • getWeight

        private double getWeight​(java.util.List<Edge> E)